package com.ambow.service.impl;

import java.util.List;

import com.ambow.Entity.Category;
import com.ambow.Entity.DeliverToStudent;
import com.ambow.Entity.Level;
import com.ambow.Entity.Major;
import com.ambow.Entity.PackageBook;
import com.ambow.Entity.Student;
import com.ambow.dao.DeliverToStudentDao;
import com.ambow.dao.impl.DeliverToStudentDaoImpl;
import com.ambow.service.DeliverToStudentService;

public class DeliverToStudentServiceImpl implements DeliverToStudentService {
	DeliverToStudentDao dao=new DeliverToStudentDaoImpl();
	@Override
	public Student queryStudent(String hql, String[] param) {
		// TODO Auto-generated method stub
		return this.dao.queryStudent(hql,param);
	}
	@Override
	public Student queryStudentById(Integer sid) {
		// TODO Auto-generated method stub
		return this.dao.queryStudentById(sid);
	}
	@Override
	public boolean addDeliverToStudent(DeliverToStudent deliverToStudent) {
		// TODO Auto-generated method stub
		return this.dao.addDeliverToStudent(deliverToStudent);
	}
	@Override
	public List<DeliverToStudent> queryDeliverToStudent(String hql, String[] param) {
		// TODO Auto-generated method stub
		return this.dao.queryDeliverToStudent(hql,param);
	}
	@Override
	public Category queryCategoryById(Integer cid) {
		// TODO Auto-generated method stub
		return this.dao.queryCategoryById(cid);
	}
	@Override
	public Major queryMajorById(Integer mid) {
		// TODO Auto-generated method stub
		return this.dao.queryMajorById(mid);
	}
	@Override
	public Level queryLevelById(Integer lid) {
		// TODO Auto-generated method stub
		return this.dao.queryLevelById(lid);
	}
	@Override
	public PackageBook queryPackageBookById(Integer pid) {
		// TODO Auto-generated method stub
		return this.dao.queryPackageBookById(pid);
	}
	@Override
	public List<DeliverToStudent> queryToStudent(String hql) {
		// TODO Auto-generated method stub
		return this.dao.queryToStudent(hql);
	}
	@Override
	public Student queryById(Class<Student> class1, Integer sid) {
		// TODO Auto-generated method stub
		return this.dao.queryById(class1,sid);
	}
	

}
